package com.atqh.logistics.service.impl;

import com.atqh.logistics.utils.Vo.MissionAndCustom;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atqh.logistics.domin.Mission;
import com.atqh.logistics.service.MissionService;
import com.atqh.logistics.mapper.MissionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class MissionServiceImpl extends ServiceImpl<MissionMapper, Mission>
    implements MissionService{

    @Autowired
    private MissionMapper missionMapper;

    @Override
    public List<MissionAndCustom> selectDaiList() {

        return missionMapper.SelectDaiMissionList();
    }

    @Override
    public List<Mission> selectDaiCarDriverList() {

        return missionMapper.selectDaiCarDriverList();
    }

    @Override
    public List<Mission> selectComList() {
        return missionMapper.selectComList();
    }
}




